
bin/kernel:     file format elf64-littleriscv


Disassembly of section .text:

0000000080200000 <kern_entry>:
    80200000:	00004117          	auipc	sp,0x4
    80200004:	00010113          	mv	sp,sp
    80200008:	a009                	j	8020000a <kern_init>

000000008020000a <kern_init>:
    8020000a:	00004517          	auipc	a0,0x4
    8020000e:	00650513          	addi	a0,a0,6 # 80204010 <ticks>
    80200012:	00004617          	auipc	a2,0x4
    80200016:	01660613          	addi	a2,a2,22 # 80204028 <end>
    8020001a:	1141                	addi	sp,sp,-16
    8020001c:	8e09                	sub	a2,a2,a0
    8020001e:	4581                	li	a1,0
    80200020:	e406                	sd	ra,8(sp)
    80200022:	149000ef          	jal	ra,8020096a <memset>
    80200026:	14a000ef          	jal	ra,80200170 <cons_init>
    8020002a:	00001597          	auipc	a1,0x1
    8020002e:	95658593          	addi	a1,a1,-1706 # 80200980 <etext+0x4>
    80200032:	00001517          	auipc	a0,0x1
    80200036:	96e50513          	addi	a0,a0,-1682 # 802009a0 <etext+0x24>
    8020003a:	030000ef          	jal	ra,8020006a <cprintf>
    8020003e:	062000ef          	jal	ra,802000a0 <print_kerninfo>
    80200042:	13e000ef          	jal	ra,80200180 <idt_init>
    80200046:	0e8000ef          	jal	ra,8020012e <clock_init>
    8020004a:	130000ef          	jal	ra,8020017a <intr_enable>
    8020004e:	a001                	j	8020004e <kern_init+0x44>

0000000080200050 <cputch>:
    80200050:	1141                	addi	sp,sp,-16
    80200052:	e022                	sd	s0,0(sp)
    80200054:	e406                	sd	ra,8(sp)
    80200056:	842e                	mv	s0,a1
    80200058:	11a000ef          	jal	ra,80200172 <cons_putc>
    8020005c:	401c                	lw	a5,0(s0)
    8020005e:	60a2                	ld	ra,8(sp)
    80200060:	2785                	addiw	a5,a5,1
    80200062:	c01c                	sw	a5,0(s0)
    80200064:	6402                	ld	s0,0(sp)
    80200066:	0141                	addi	sp,sp,16
    80200068:	8082                	ret

000000008020006a <cprintf>:
    8020006a:	711d                	addi	sp,sp,-96
    8020006c:	02810313          	addi	t1,sp,40 # 80204028 <end>
    80200070:	8e2a                	mv	t3,a0
    80200072:	f42e                	sd	a1,40(sp)
    80200074:	f832                	sd	a2,48(sp)
    80200076:	fc36                	sd	a3,56(sp)
    80200078:	00000517          	auipc	a0,0x0
    8020007c:	fd850513          	addi	a0,a0,-40 # 80200050 <cputch>
    80200080:	004c                	addi	a1,sp,4
    80200082:	869a                	mv	a3,t1
    80200084:	8672                	mv	a2,t3
    80200086:	ec06                	sd	ra,24(sp)
    80200088:	e0ba                	sd	a4,64(sp)
    8020008a:	e4be                	sd	a5,72(sp)
    8020008c:	e8c2                	sd	a6,80(sp)
    8020008e:	ecc6                	sd	a7,88(sp)
    80200090:	e41a                	sd	t1,8(sp)
    80200092:	c202                	sw	zero,4(sp)
    80200094:	4ea000ef          	jal	ra,8020057e <vprintfmt>
    80200098:	60e2                	ld	ra,24(sp)
    8020009a:	4512                	lw	a0,4(sp)
    8020009c:	6125                	addi	sp,sp,96
    8020009e:	8082                	ret

00000000802000a0 <print_kerninfo>:
    802000a0:	1141                	addi	sp,sp,-16
    802000a2:	00001517          	auipc	a0,0x1
    802000a6:	90650513          	addi	a0,a0,-1786 # 802009a8 <etext+0x2c>
    802000aa:	e406                	sd	ra,8(sp)
    802000ac:	fbfff0ef          	jal	ra,8020006a <cprintf>
    802000b0:	00000597          	auipc	a1,0x0
    802000b4:	f5a58593          	addi	a1,a1,-166 # 8020000a <kern_init>
    802000b8:	00001517          	auipc	a0,0x1
    802000bc:	91050513          	addi	a0,a0,-1776 # 802009c8 <etext+0x4c>
    802000c0:	fabff0ef          	jal	ra,8020006a <cprintf>
    802000c4:	00001597          	auipc	a1,0x1
    802000c8:	8b858593          	addi	a1,a1,-1864 # 8020097c <etext>
    802000cc:	00001517          	auipc	a0,0x1
    802000d0:	91c50513          	addi	a0,a0,-1764 # 802009e8 <etext+0x6c>
    802000d4:	f97ff0ef          	jal	ra,8020006a <cprintf>
    802000d8:	00004597          	auipc	a1,0x4
    802000dc:	f3858593          	addi	a1,a1,-200 # 80204010 <ticks>
    802000e0:	00001517          	auipc	a0,0x1
    802000e4:	92850513          	addi	a0,a0,-1752 # 80200a08 <etext+0x8c>
    802000e8:	f83ff0ef          	jal	ra,8020006a <cprintf>
    802000ec:	00004597          	auipc	a1,0x4
    802000f0:	f3c58593          	addi	a1,a1,-196 # 80204028 <end>
    802000f4:	00001517          	auipc	a0,0x1
    802000f8:	93450513          	addi	a0,a0,-1740 # 80200a28 <etext+0xac>
    802000fc:	f6fff0ef          	jal	ra,8020006a <cprintf>
    80200100:	00004597          	auipc	a1,0x4
    80200104:	32758593          	addi	a1,a1,807 # 80204427 <end+0x3ff>
    80200108:	00000797          	auipc	a5,0x0
    8020010c:	f0278793          	addi	a5,a5,-254 # 8020000a <kern_init>
    80200110:	40f587b3          	sub	a5,a1,a5
    80200114:	43f7d593          	srai	a1,a5,0x3f
    80200118:	60a2                	ld	ra,8(sp)
    8020011a:	3ff5f593          	andi	a1,a1,1023
    8020011e:	95be                	add	a1,a1,a5
    80200120:	85a9                	srai	a1,a1,0xa
    80200122:	00001517          	auipc	a0,0x1
    80200126:	92650513          	addi	a0,a0,-1754 # 80200a48 <etext+0xcc>
    8020012a:	0141                	addi	sp,sp,16
    8020012c:	bf3d                	j	8020006a <cprintf>

000000008020012e <clock_init>:
    8020012e:	1141                	addi	sp,sp,-16
    80200130:	e406                	sd	ra,8(sp)
    80200132:	02000793          	li	a5,32
    80200136:	1047a7f3          	csrrs	a5,sie,a5
    8020013a:	c0102573          	rdtime	a0
    8020013e:	67e1                	lui	a5,0x18
    80200140:	6a078793          	addi	a5,a5,1696 # 186a0 <kern_entry-0x801e7960>
    80200144:	953e                	add	a0,a0,a5
    80200146:	7d4000ef          	jal	ra,8020091a <sbi_set_timer>
    8020014a:	60a2                	ld	ra,8(sp)
    8020014c:	00004797          	auipc	a5,0x4
    80200150:	ec07b223          	sd	zero,-316(a5) # 80204010 <ticks>
    80200154:	00001517          	auipc	a0,0x1
    80200158:	92450513          	addi	a0,a0,-1756 # 80200a78 <etext+0xfc>
    8020015c:	0141                	addi	sp,sp,16
    8020015e:	b731                	j	8020006a <cprintf>

0000000080200160 <clock_set_next_event>:
    80200160:	c0102573          	rdtime	a0
    80200164:	67e1                	lui	a5,0x18
    80200166:	6a078793          	addi	a5,a5,1696 # 186a0 <kern_entry-0x801e7960>
    8020016a:	953e                	add	a0,a0,a5
    8020016c:	7ae0006f          	j	8020091a <sbi_set_timer>

0000000080200170 <cons_init>:
    80200170:	8082                	ret

0000000080200172 <cons_putc>:
    80200172:	0ff57513          	zext.b	a0,a0
    80200176:	78a0006f          	j	80200900 <sbi_console_putchar>

000000008020017a <intr_enable>:
    8020017a:	100167f3          	csrrsi	a5,sstatus,2
    8020017e:	8082                	ret

0000000080200180 <idt_init>:
    80200180:	14005073          	csrwi	sscratch,0
    80200184:	00000797          	auipc	a5,0x0
    80200188:	2d878793          	addi	a5,a5,728 # 8020045c <__alltraps>
    8020018c:	10579073          	csrw	stvec,a5
    80200190:	8082                	ret

0000000080200192 <print_regs>:
    80200192:	610c                	ld	a1,0(a0)
    80200194:	1141                	addi	sp,sp,-16
    80200196:	e022                	sd	s0,0(sp)
    80200198:	842a                	mv	s0,a0
    8020019a:	00001517          	auipc	a0,0x1
    8020019e:	8fe50513          	addi	a0,a0,-1794 # 80200a98 <etext+0x11c>
    802001a2:	e406                	sd	ra,8(sp)
    802001a4:	ec7ff0ef          	jal	ra,8020006a <cprintf>
    802001a8:	640c                	ld	a1,8(s0)
    802001aa:	00001517          	auipc	a0,0x1
    802001ae:	90650513          	addi	a0,a0,-1786 # 80200ab0 <etext+0x134>
    802001b2:	eb9ff0ef          	jal	ra,8020006a <cprintf>
    802001b6:	680c                	ld	a1,16(s0)
    802001b8:	00001517          	auipc	a0,0x1
    802001bc:	91050513          	addi	a0,a0,-1776 # 80200ac8 <etext+0x14c>
    802001c0:	eabff0ef          	jal	ra,8020006a <cprintf>
    802001c4:	6c0c                	ld	a1,24(s0)
    802001c6:	00001517          	auipc	a0,0x1
    802001ca:	91a50513          	addi	a0,a0,-1766 # 80200ae0 <etext+0x164>
    802001ce:	e9dff0ef          	jal	ra,8020006a <cprintf>
    802001d2:	700c                	ld	a1,32(s0)
    802001d4:	00001517          	auipc	a0,0x1
    802001d8:	92450513          	addi	a0,a0,-1756 # 80200af8 <etext+0x17c>
    802001dc:	e8fff0ef          	jal	ra,8020006a <cprintf>
    802001e0:	740c                	ld	a1,40(s0)
    802001e2:	00001517          	auipc	a0,0x1
    802001e6:	92e50513          	addi	a0,a0,-1746 # 80200b10 <etext+0x194>
    802001ea:	e81ff0ef          	jal	ra,8020006a <cprintf>
    802001ee:	780c                	ld	a1,48(s0)
    802001f0:	00001517          	auipc	a0,0x1
    802001f4:	93850513          	addi	a0,a0,-1736 # 80200b28 <etext+0x1ac>
    802001f8:	e73ff0ef          	jal	ra,8020006a <cprintf>
    802001fc:	7c0c                	ld	a1,56(s0)
    802001fe:	00001517          	auipc	a0,0x1
    80200202:	94250513          	addi	a0,a0,-1726 # 80200b40 <etext+0x1c4>
    80200206:	e65ff0ef          	jal	ra,8020006a <cprintf>
    8020020a:	602c                	ld	a1,64(s0)
    8020020c:	00001517          	auipc	a0,0x1
    80200210:	94c50513          	addi	a0,a0,-1716 # 80200b58 <etext+0x1dc>
    80200214:	e57ff0ef          	jal	ra,8020006a <cprintf>
    80200218:	642c                	ld	a1,72(s0)
    8020021a:	00001517          	auipc	a0,0x1
    8020021e:	95650513          	addi	a0,a0,-1706 # 80200b70 <etext+0x1f4>
    80200222:	e49ff0ef          	jal	ra,8020006a <cprintf>
    80200226:	682c                	ld	a1,80(s0)
    80200228:	00001517          	auipc	a0,0x1
    8020022c:	96050513          	addi	a0,a0,-1696 # 80200b88 <etext+0x20c>
    80200230:	e3bff0ef          	jal	ra,8020006a <cprintf>
    80200234:	6c2c                	ld	a1,88(s0)
    80200236:	00001517          	auipc	a0,0x1
    8020023a:	96a50513          	addi	a0,a0,-1686 # 80200ba0 <etext+0x224>
    8020023e:	e2dff0ef          	jal	ra,8020006a <cprintf>
    80200242:	702c                	ld	a1,96(s0)
    80200244:	00001517          	auipc	a0,0x1
    80200248:	97450513          	addi	a0,a0,-1676 # 80200bb8 <etext+0x23c>
    8020024c:	e1fff0ef          	jal	ra,8020006a <cprintf>
    80200250:	742c                	ld	a1,104(s0)
    80200252:	00001517          	auipc	a0,0x1
    80200256:	97e50513          	addi	a0,a0,-1666 # 80200bd0 <etext+0x254>
    8020025a:	e11ff0ef          	jal	ra,8020006a <cprintf>
    8020025e:	782c                	ld	a1,112(s0)
    80200260:	00001517          	auipc	a0,0x1
    80200264:	98850513          	addi	a0,a0,-1656 # 80200be8 <etext+0x26c>
    80200268:	e03ff0ef          	jal	ra,8020006a <cprintf>
    8020026c:	7c2c                	ld	a1,120(s0)
    8020026e:	00001517          	auipc	a0,0x1
    80200272:	99250513          	addi	a0,a0,-1646 # 80200c00 <etext+0x284>
    80200276:	df5ff0ef          	jal	ra,8020006a <cprintf>
    8020027a:	604c                	ld	a1,128(s0)
    8020027c:	00001517          	auipc	a0,0x1
    80200280:	99c50513          	addi	a0,a0,-1636 # 80200c18 <etext+0x29c>
    80200284:	de7ff0ef          	jal	ra,8020006a <cprintf>
    80200288:	644c                	ld	a1,136(s0)
    8020028a:	00001517          	auipc	a0,0x1
    8020028e:	9a650513          	addi	a0,a0,-1626 # 80200c30 <etext+0x2b4>
    80200292:	dd9ff0ef          	jal	ra,8020006a <cprintf>
    80200296:	684c                	ld	a1,144(s0)
    80200298:	00001517          	auipc	a0,0x1
    8020029c:	9b050513          	addi	a0,a0,-1616 # 80200c48 <etext+0x2cc>
    802002a0:	dcbff0ef          	jal	ra,8020006a <cprintf>
    802002a4:	6c4c                	ld	a1,152(s0)
    802002a6:	00001517          	auipc	a0,0x1
    802002aa:	9ba50513          	addi	a0,a0,-1606 # 80200c60 <etext+0x2e4>
    802002ae:	dbdff0ef          	jal	ra,8020006a <cprintf>
    802002b2:	704c                	ld	a1,160(s0)
    802002b4:	00001517          	auipc	a0,0x1
    802002b8:	9c450513          	addi	a0,a0,-1596 # 80200c78 <etext+0x2fc>
    802002bc:	dafff0ef          	jal	ra,8020006a <cprintf>
    802002c0:	744c                	ld	a1,168(s0)
    802002c2:	00001517          	auipc	a0,0x1
    802002c6:	9ce50513          	addi	a0,a0,-1586 # 80200c90 <etext+0x314>
    802002ca:	da1ff0ef          	jal	ra,8020006a <cprintf>
    802002ce:	784c                	ld	a1,176(s0)
    802002d0:	00001517          	auipc	a0,0x1
    802002d4:	9d850513          	addi	a0,a0,-1576 # 80200ca8 <etext+0x32c>
    802002d8:	d93ff0ef          	jal	ra,8020006a <cprintf>
    802002dc:	7c4c                	ld	a1,184(s0)
    802002de:	00001517          	auipc	a0,0x1
    802002e2:	9e250513          	addi	a0,a0,-1566 # 80200cc0 <etext+0x344>
    802002e6:	d85ff0ef          	jal	ra,8020006a <cprintf>
    802002ea:	606c                	ld	a1,192(s0)
    802002ec:	00001517          	auipc	a0,0x1
    802002f0:	9ec50513          	addi	a0,a0,-1556 # 80200cd8 <etext+0x35c>
    802002f4:	d77ff0ef          	jal	ra,8020006a <cprintf>
    802002f8:	646c                	ld	a1,200(s0)
    802002fa:	00001517          	auipc	a0,0x1
    802002fe:	9f650513          	addi	a0,a0,-1546 # 80200cf0 <etext+0x374>
    80200302:	d69ff0ef          	jal	ra,8020006a <cprintf>
    80200306:	686c                	ld	a1,208(s0)
    80200308:	00001517          	auipc	a0,0x1
    8020030c:	a0050513          	addi	a0,a0,-1536 # 80200d08 <etext+0x38c>
    80200310:	d5bff0ef          	jal	ra,8020006a <cprintf>
    80200314:	6c6c                	ld	a1,216(s0)
    80200316:	00001517          	auipc	a0,0x1
    8020031a:	a0a50513          	addi	a0,a0,-1526 # 80200d20 <etext+0x3a4>
    8020031e:	d4dff0ef          	jal	ra,8020006a <cprintf>
    80200322:	706c                	ld	a1,224(s0)
    80200324:	00001517          	auipc	a0,0x1
    80200328:	a1450513          	addi	a0,a0,-1516 # 80200d38 <etext+0x3bc>
    8020032c:	d3fff0ef          	jal	ra,8020006a <cprintf>
    80200330:	746c                	ld	a1,232(s0)
    80200332:	00001517          	auipc	a0,0x1
    80200336:	a1e50513          	addi	a0,a0,-1506 # 80200d50 <etext+0x3d4>
    8020033a:	d31ff0ef          	jal	ra,8020006a <cprintf>
    8020033e:	786c                	ld	a1,240(s0)
    80200340:	00001517          	auipc	a0,0x1
    80200344:	a2850513          	addi	a0,a0,-1496 # 80200d68 <etext+0x3ec>
    80200348:	d23ff0ef          	jal	ra,8020006a <cprintf>
    8020034c:	7c6c                	ld	a1,248(s0)
    8020034e:	6402                	ld	s0,0(sp)
    80200350:	60a2                	ld	ra,8(sp)
    80200352:	00001517          	auipc	a0,0x1
    80200356:	a2e50513          	addi	a0,a0,-1490 # 80200d80 <etext+0x404>
    8020035a:	0141                	addi	sp,sp,16
    8020035c:	b339                	j	8020006a <cprintf>

000000008020035e <print_trapframe>:
    8020035e:	1141                	addi	sp,sp,-16
    80200360:	e022                	sd	s0,0(sp)
    80200362:	85aa                	mv	a1,a0
    80200364:	842a                	mv	s0,a0
    80200366:	00001517          	auipc	a0,0x1
    8020036a:	a3250513          	addi	a0,a0,-1486 # 80200d98 <etext+0x41c>
    8020036e:	e406                	sd	ra,8(sp)
    80200370:	cfbff0ef          	jal	ra,8020006a <cprintf>
    80200374:	8522                	mv	a0,s0
    80200376:	e1dff0ef          	jal	ra,80200192 <print_regs>
    8020037a:	10043583          	ld	a1,256(s0)
    8020037e:	00001517          	auipc	a0,0x1
    80200382:	a3250513          	addi	a0,a0,-1486 # 80200db0 <etext+0x434>
    80200386:	ce5ff0ef          	jal	ra,8020006a <cprintf>
    8020038a:	10843583          	ld	a1,264(s0)
    8020038e:	00001517          	auipc	a0,0x1
    80200392:	a3a50513          	addi	a0,a0,-1478 # 80200dc8 <etext+0x44c>
    80200396:	cd5ff0ef          	jal	ra,8020006a <cprintf>
    8020039a:	11043583          	ld	a1,272(s0)
    8020039e:	00001517          	auipc	a0,0x1
    802003a2:	a4250513          	addi	a0,a0,-1470 # 80200de0 <etext+0x464>
    802003a6:	cc5ff0ef          	jal	ra,8020006a <cprintf>
    802003aa:	11843583          	ld	a1,280(s0)
    802003ae:	6402                	ld	s0,0(sp)
    802003b0:	60a2                	ld	ra,8(sp)
    802003b2:	00001517          	auipc	a0,0x1
    802003b6:	a4650513          	addi	a0,a0,-1466 # 80200df8 <etext+0x47c>
    802003ba:	0141                	addi	sp,sp,16
    802003bc:	b17d                	j	8020006a <cprintf>

00000000802003be <interrupt_handler>:
    802003be:	11853783          	ld	a5,280(a0)
    802003c2:	472d                	li	a4,11
    802003c4:	0786                	slli	a5,a5,0x1
    802003c6:	8385                	srli	a5,a5,0x1
    802003c8:	06f76c63          	bltu	a4,a5,80200440 <interrupt_handler+0x82>
    802003cc:	00001717          	auipc	a4,0x1
    802003d0:	af470713          	addi	a4,a4,-1292 # 80200ec0 <etext+0x544>
    802003d4:	078a                	slli	a5,a5,0x2
    802003d6:	97ba                	add	a5,a5,a4
    802003d8:	439c                	lw	a5,0(a5)
    802003da:	97ba                	add	a5,a5,a4
    802003dc:	8782                	jr	a5
    802003de:	00001517          	auipc	a0,0x1
    802003e2:	a9250513          	addi	a0,a0,-1390 # 80200e70 <etext+0x4f4>
    802003e6:	b151                	j	8020006a <cprintf>
    802003e8:	00001517          	auipc	a0,0x1
    802003ec:	a6850513          	addi	a0,a0,-1432 # 80200e50 <etext+0x4d4>
    802003f0:	b9ad                	j	8020006a <cprintf>
    802003f2:	00001517          	auipc	a0,0x1
    802003f6:	a1e50513          	addi	a0,a0,-1506 # 80200e10 <etext+0x494>
    802003fa:	b985                	j	8020006a <cprintf>
    802003fc:	00001517          	auipc	a0,0x1
    80200400:	a3450513          	addi	a0,a0,-1484 # 80200e30 <etext+0x4b4>
    80200404:	b19d                	j	8020006a <cprintf>
    80200406:	1141                	addi	sp,sp,-16
    80200408:	e406                	sd	ra,8(sp)
    8020040a:	d57ff0ef          	jal	ra,80200160 <clock_set_next_event>
    8020040e:	00004797          	auipc	a5,0x4
    80200412:	c0a78793          	addi	a5,a5,-1014 # 80204018 <num>
    80200416:	6398                	ld	a4,0(a5)
    80200418:	46a9                	li	a3,10
    8020041a:	0705                	addi	a4,a4,1
    8020041c:	e398                	sd	a4,0(a5)
    8020041e:	639c                	ld	a5,0(a5)
    80200420:	02f6e163          	bltu	a3,a5,80200442 <interrupt_handler+0x84>
    80200424:	60a2                	ld	ra,8(sp)
    80200426:	06400593          	li	a1,100
    8020042a:	00001517          	auipc	a0,0x1
    8020042e:	a6650513          	addi	a0,a0,-1434 # 80200e90 <etext+0x514>
    80200432:	0141                	addi	sp,sp,16
    80200434:	b91d                	j	8020006a <cprintf>
    80200436:	00001517          	auipc	a0,0x1
    8020043a:	a6a50513          	addi	a0,a0,-1430 # 80200ea0 <etext+0x524>
    8020043e:	b135                	j	8020006a <cprintf>
    80200440:	bf39                	j	8020035e <print_trapframe>
    80200442:	60a2                	ld	ra,8(sp)
    80200444:	0141                	addi	sp,sp,16
    80200446:	a1fd                	j	80200934 <sbi_shutdown>

0000000080200448 <trap>:
    80200448:	11853783          	ld	a5,280(a0)
    8020044c:	0007c763          	bltz	a5,8020045a <trap+0x12>
    80200450:	472d                	li	a4,11
    80200452:	00f76363          	bltu	a4,a5,80200458 <trap+0x10>
    80200456:	8082                	ret
    80200458:	b719                	j	8020035e <print_trapframe>
    8020045a:	b795                	j	802003be <interrupt_handler>

000000008020045c <__alltraps>:
    8020045c:	14011073          	csrw	sscratch,sp
    80200460:	712d                	addi	sp,sp,-288
    80200462:	e002                	sd	zero,0(sp)
    80200464:	e406                	sd	ra,8(sp)
    80200466:	ec0e                	sd	gp,24(sp)
    80200468:	f012                	sd	tp,32(sp)
    8020046a:	f416                	sd	t0,40(sp)
    8020046c:	f81a                	sd	t1,48(sp)
    8020046e:	fc1e                	sd	t2,56(sp)
    80200470:	e0a2                	sd	s0,64(sp)
    80200472:	e4a6                	sd	s1,72(sp)
    80200474:	e8aa                	sd	a0,80(sp)
    80200476:	ecae                	sd	a1,88(sp)
    80200478:	f0b2                	sd	a2,96(sp)
    8020047a:	f4b6                	sd	a3,104(sp)
    8020047c:	f8ba                	sd	a4,112(sp)
    8020047e:	fcbe                	sd	a5,120(sp)
    80200480:	e142                	sd	a6,128(sp)
    80200482:	e546                	sd	a7,136(sp)
    80200484:	e94a                	sd	s2,144(sp)
    80200486:	ed4e                	sd	s3,152(sp)
    80200488:	f152                	sd	s4,160(sp)
    8020048a:	f556                	sd	s5,168(sp)
    8020048c:	f95a                	sd	s6,176(sp)
    8020048e:	fd5e                	sd	s7,184(sp)
    80200490:	e1e2                	sd	s8,192(sp)
    80200492:	e5e6                	sd	s9,200(sp)
    80200494:	e9ea                	sd	s10,208(sp)
    80200496:	edee                	sd	s11,216(sp)
    80200498:	f1f2                	sd	t3,224(sp)
    8020049a:	f5f6                	sd	t4,232(sp)
    8020049c:	f9fa                	sd	t5,240(sp)
    8020049e:	fdfe                	sd	t6,248(sp)
    802004a0:	14001473          	csrrw	s0,sscratch,zero
    802004a4:	100024f3          	csrr	s1,sstatus
    802004a8:	14102973          	csrr	s2,sepc
    802004ac:	143029f3          	csrr	s3,stval
    802004b0:	14202a73          	csrr	s4,scause
    802004b4:	e822                	sd	s0,16(sp)
    802004b6:	e226                	sd	s1,256(sp)
    802004b8:	e64a                	sd	s2,264(sp)
    802004ba:	ea4e                	sd	s3,272(sp)
    802004bc:	ee52                	sd	s4,280(sp)
    802004be:	850a                	mv	a0,sp
    802004c0:	f89ff0ef          	jal	ra,80200448 <trap>

00000000802004c4 <__trapret>:
    802004c4:	6492                	ld	s1,256(sp)
    802004c6:	6932                	ld	s2,264(sp)
    802004c8:	10049073          	csrw	sstatus,s1
    802004cc:	14191073          	csrw	sepc,s2
    802004d0:	60a2                	ld	ra,8(sp)
    802004d2:	61e2                	ld	gp,24(sp)
    802004d4:	7202                	ld	tp,32(sp)
    802004d6:	72a2                	ld	t0,40(sp)
    802004d8:	7342                	ld	t1,48(sp)
    802004da:	73e2                	ld	t2,56(sp)
    802004dc:	6406                	ld	s0,64(sp)
    802004de:	64a6                	ld	s1,72(sp)
    802004e0:	6546                	ld	a0,80(sp)
    802004e2:	65e6                	ld	a1,88(sp)
    802004e4:	7606                	ld	a2,96(sp)
    802004e6:	76a6                	ld	a3,104(sp)
    802004e8:	7746                	ld	a4,112(sp)
    802004ea:	77e6                	ld	a5,120(sp)
    802004ec:	680a                	ld	a6,128(sp)
    802004ee:	68aa                	ld	a7,136(sp)
    802004f0:	694a                	ld	s2,144(sp)
    802004f2:	69ea                	ld	s3,152(sp)
    802004f4:	7a0a                	ld	s4,160(sp)
    802004f6:	7aaa                	ld	s5,168(sp)
    802004f8:	7b4a                	ld	s6,176(sp)
    802004fa:	7bea                	ld	s7,184(sp)
    802004fc:	6c0e                	ld	s8,192(sp)
    802004fe:	6cae                	ld	s9,200(sp)
    80200500:	6d4e                	ld	s10,208(sp)
    80200502:	6dee                	ld	s11,216(sp)
    80200504:	7e0e                	ld	t3,224(sp)
    80200506:	7eae                	ld	t4,232(sp)
    80200508:	7f4e                	ld	t5,240(sp)
    8020050a:	7fee                	ld	t6,248(sp)
    8020050c:	6142                	ld	sp,16(sp)
    8020050e:	10200073          	sret

0000000080200512 <printnum>:
    80200512:	02069813          	slli	a6,a3,0x20
    80200516:	7179                	addi	sp,sp,-48
    80200518:	02085813          	srli	a6,a6,0x20
    8020051c:	e052                	sd	s4,0(sp)
    8020051e:	03067a33          	remu	s4,a2,a6
    80200522:	f022                	sd	s0,32(sp)
    80200524:	ec26                	sd	s1,24(sp)
    80200526:	e84a                	sd	s2,16(sp)
    80200528:	f406                	sd	ra,40(sp)
    8020052a:	e44e                	sd	s3,8(sp)
    8020052c:	84aa                	mv	s1,a0
    8020052e:	892e                	mv	s2,a1
    80200530:	fff7041b          	addiw	s0,a4,-1
    80200534:	2a01                	sext.w	s4,s4
    80200536:	03067e63          	bgeu	a2,a6,80200572 <printnum+0x60>
    8020053a:	89be                	mv	s3,a5
    8020053c:	00805763          	blez	s0,8020054a <printnum+0x38>
    80200540:	347d                	addiw	s0,s0,-1
    80200542:	85ca                	mv	a1,s2
    80200544:	854e                	mv	a0,s3
    80200546:	9482                	jalr	s1
    80200548:	fc65                	bnez	s0,80200540 <printnum+0x2e>
    8020054a:	1a02                	slli	s4,s4,0x20
    8020054c:	00001797          	auipc	a5,0x1
    80200550:	9a478793          	addi	a5,a5,-1628 # 80200ef0 <etext+0x574>
    80200554:	020a5a13          	srli	s4,s4,0x20
    80200558:	9a3e                	add	s4,s4,a5
    8020055a:	7402                	ld	s0,32(sp)
    8020055c:	000a4503          	lbu	a0,0(s4)
    80200560:	70a2                	ld	ra,40(sp)
    80200562:	69a2                	ld	s3,8(sp)
    80200564:	6a02                	ld	s4,0(sp)
    80200566:	85ca                	mv	a1,s2
    80200568:	87a6                	mv	a5,s1
    8020056a:	6942                	ld	s2,16(sp)
    8020056c:	64e2                	ld	s1,24(sp)
    8020056e:	6145                	addi	sp,sp,48
    80200570:	8782                	jr	a5
    80200572:	03065633          	divu	a2,a2,a6
    80200576:	8722                	mv	a4,s0
    80200578:	f9bff0ef          	jal	ra,80200512 <printnum>
    8020057c:	b7f9                	j	8020054a <printnum+0x38>

000000008020057e <vprintfmt>:
    8020057e:	7119                	addi	sp,sp,-128
    80200580:	f4a6                	sd	s1,104(sp)
    80200582:	f0ca                	sd	s2,96(sp)
    80200584:	ecce                	sd	s3,88(sp)
    80200586:	e8d2                	sd	s4,80(sp)
    80200588:	e4d6                	sd	s5,72(sp)
    8020058a:	e0da                	sd	s6,64(sp)
    8020058c:	fc5e                	sd	s7,56(sp)
    8020058e:	f06a                	sd	s10,32(sp)
    80200590:	fc86                	sd	ra,120(sp)
    80200592:	f8a2                	sd	s0,112(sp)
    80200594:	f862                	sd	s8,48(sp)
    80200596:	f466                	sd	s9,40(sp)
    80200598:	ec6e                	sd	s11,24(sp)
    8020059a:	892a                	mv	s2,a0
    8020059c:	84ae                	mv	s1,a1
    8020059e:	8d32                	mv	s10,a2
    802005a0:	8a36                	mv	s4,a3
    802005a2:	02500993          	li	s3,37
    802005a6:	5b7d                	li	s6,-1
    802005a8:	00001a97          	auipc	s5,0x1
    802005ac:	97ca8a93          	addi	s5,s5,-1668 # 80200f24 <etext+0x5a8>
    802005b0:	00001b97          	auipc	s7,0x1
    802005b4:	b50b8b93          	addi	s7,s7,-1200 # 80201100 <error_string>
    802005b8:	000d4503          	lbu	a0,0(s10)
    802005bc:	001d0413          	addi	s0,s10,1
    802005c0:	01350a63          	beq	a0,s3,802005d4 <vprintfmt+0x56>
    802005c4:	c121                	beqz	a0,80200604 <vprintfmt+0x86>
    802005c6:	85a6                	mv	a1,s1
    802005c8:	0405                	addi	s0,s0,1
    802005ca:	9902                	jalr	s2
    802005cc:	fff44503          	lbu	a0,-1(s0)
    802005d0:	ff351ae3          	bne	a0,s3,802005c4 <vprintfmt+0x46>
    802005d4:	00044603          	lbu	a2,0(s0)
    802005d8:	02000793          	li	a5,32
    802005dc:	4c81                	li	s9,0
    802005de:	4881                	li	a7,0
    802005e0:	5c7d                	li	s8,-1
    802005e2:	5dfd                	li	s11,-1
    802005e4:	05500513          	li	a0,85
    802005e8:	4825                	li	a6,9
    802005ea:	fdd6059b          	addiw	a1,a2,-35
    802005ee:	0ff5f593          	zext.b	a1,a1
    802005f2:	00140d13          	addi	s10,s0,1
    802005f6:	04b56263          	bltu	a0,a1,8020063a <vprintfmt+0xbc>
    802005fa:	058a                	slli	a1,a1,0x2
    802005fc:	95d6                	add	a1,a1,s5
    802005fe:	4194                	lw	a3,0(a1)
    80200600:	96d6                	add	a3,a3,s5
    80200602:	8682                	jr	a3
    80200604:	70e6                	ld	ra,120(sp)
    80200606:	7446                	ld	s0,112(sp)
    80200608:	74a6                	ld	s1,104(sp)
    8020060a:	7906                	ld	s2,96(sp)
    8020060c:	69e6                	ld	s3,88(sp)
    8020060e:	6a46                	ld	s4,80(sp)
    80200610:	6aa6                	ld	s5,72(sp)
    80200612:	6b06                	ld	s6,64(sp)
    80200614:	7be2                	ld	s7,56(sp)
    80200616:	7c42                	ld	s8,48(sp)
    80200618:	7ca2                	ld	s9,40(sp)
    8020061a:	7d02                	ld	s10,32(sp)
    8020061c:	6de2                	ld	s11,24(sp)
    8020061e:	6109                	addi	sp,sp,128
    80200620:	8082                	ret
    80200622:	87b2                	mv	a5,a2
    80200624:	00144603          	lbu	a2,1(s0)
    80200628:	846a                	mv	s0,s10
    8020062a:	00140d13          	addi	s10,s0,1
    8020062e:	fdd6059b          	addiw	a1,a2,-35
    80200632:	0ff5f593          	zext.b	a1,a1
    80200636:	fcb572e3          	bgeu	a0,a1,802005fa <vprintfmt+0x7c>
    8020063a:	85a6                	mv	a1,s1
    8020063c:	02500513          	li	a0,37
    80200640:	9902                	jalr	s2
    80200642:	fff44783          	lbu	a5,-1(s0)
    80200646:	8d22                	mv	s10,s0
    80200648:	f73788e3          	beq	a5,s3,802005b8 <vprintfmt+0x3a>
    8020064c:	ffed4783          	lbu	a5,-2(s10)
    80200650:	1d7d                	addi	s10,s10,-1
    80200652:	ff379de3          	bne	a5,s3,8020064c <vprintfmt+0xce>
    80200656:	b78d                	j	802005b8 <vprintfmt+0x3a>
    80200658:	fd060c1b          	addiw	s8,a2,-48
    8020065c:	00144603          	lbu	a2,1(s0)
    80200660:	846a                	mv	s0,s10
    80200662:	fd06069b          	addiw	a3,a2,-48
    80200666:	0006059b          	sext.w	a1,a2
    8020066a:	02d86463          	bltu	a6,a3,80200692 <vprintfmt+0x114>
    8020066e:	00144603          	lbu	a2,1(s0)
    80200672:	002c169b          	slliw	a3,s8,0x2
    80200676:	0186873b          	addw	a4,a3,s8
    8020067a:	0017171b          	slliw	a4,a4,0x1
    8020067e:	9f2d                	addw	a4,a4,a1
    80200680:	fd06069b          	addiw	a3,a2,-48
    80200684:	0405                	addi	s0,s0,1
    80200686:	fd070c1b          	addiw	s8,a4,-48
    8020068a:	0006059b          	sext.w	a1,a2
    8020068e:	fed870e3          	bgeu	a6,a3,8020066e <vprintfmt+0xf0>
    80200692:	f40ddce3          	bgez	s11,802005ea <vprintfmt+0x6c>
    80200696:	8de2                	mv	s11,s8
    80200698:	5c7d                	li	s8,-1
    8020069a:	bf81                	j	802005ea <vprintfmt+0x6c>
    8020069c:	fffdc693          	not	a3,s11
    802006a0:	96fd                	srai	a3,a3,0x3f
    802006a2:	00ddfdb3          	and	s11,s11,a3
    802006a6:	00144603          	lbu	a2,1(s0)
    802006aa:	2d81                	sext.w	s11,s11
    802006ac:	846a                	mv	s0,s10
    802006ae:	bf35                	j	802005ea <vprintfmt+0x6c>
    802006b0:	000a2c03          	lw	s8,0(s4)
    802006b4:	00144603          	lbu	a2,1(s0)
    802006b8:	0a21                	addi	s4,s4,8
    802006ba:	846a                	mv	s0,s10
    802006bc:	bfd9                	j	80200692 <vprintfmt+0x114>
    802006be:	4705                	li	a4,1
    802006c0:	008a0593          	addi	a1,s4,8
    802006c4:	01174463          	blt	a4,a7,802006cc <vprintfmt+0x14e>
    802006c8:	1a088e63          	beqz	a7,80200884 <vprintfmt+0x306>
    802006cc:	000a3603          	ld	a2,0(s4)
    802006d0:	46c1                	li	a3,16
    802006d2:	8a2e                	mv	s4,a1
    802006d4:	2781                	sext.w	a5,a5
    802006d6:	876e                	mv	a4,s11
    802006d8:	85a6                	mv	a1,s1
    802006da:	854a                	mv	a0,s2
    802006dc:	e37ff0ef          	jal	ra,80200512 <printnum>
    802006e0:	bde1                	j	802005b8 <vprintfmt+0x3a>
    802006e2:	000a2503          	lw	a0,0(s4)
    802006e6:	85a6                	mv	a1,s1
    802006e8:	0a21                	addi	s4,s4,8
    802006ea:	9902                	jalr	s2
    802006ec:	b5f1                	j	802005b8 <vprintfmt+0x3a>
    802006ee:	4705                	li	a4,1
    802006f0:	008a0593          	addi	a1,s4,8
    802006f4:	01174463          	blt	a4,a7,802006fc <vprintfmt+0x17e>
    802006f8:	18088163          	beqz	a7,8020087a <vprintfmt+0x2fc>
    802006fc:	000a3603          	ld	a2,0(s4)
    80200700:	46a9                	li	a3,10
    80200702:	8a2e                	mv	s4,a1
    80200704:	bfc1                	j	802006d4 <vprintfmt+0x156>
    80200706:	00144603          	lbu	a2,1(s0)
    8020070a:	4c85                	li	s9,1
    8020070c:	846a                	mv	s0,s10
    8020070e:	bdf1                	j	802005ea <vprintfmt+0x6c>
    80200710:	85a6                	mv	a1,s1
    80200712:	02500513          	li	a0,37
    80200716:	9902                	jalr	s2
    80200718:	b545                	j	802005b8 <vprintfmt+0x3a>
    8020071a:	00144603          	lbu	a2,1(s0)
    8020071e:	2885                	addiw	a7,a7,1
    80200720:	846a                	mv	s0,s10
    80200722:	b5e1                	j	802005ea <vprintfmt+0x6c>
    80200724:	4705                	li	a4,1
    80200726:	008a0593          	addi	a1,s4,8
    8020072a:	01174463          	blt	a4,a7,80200732 <vprintfmt+0x1b4>
    8020072e:	14088163          	beqz	a7,80200870 <vprintfmt+0x2f2>
    80200732:	000a3603          	ld	a2,0(s4)
    80200736:	46a1                	li	a3,8
    80200738:	8a2e                	mv	s4,a1
    8020073a:	bf69                	j	802006d4 <vprintfmt+0x156>
    8020073c:	03000513          	li	a0,48
    80200740:	85a6                	mv	a1,s1
    80200742:	e03e                	sd	a5,0(sp)
    80200744:	9902                	jalr	s2
    80200746:	85a6                	mv	a1,s1
    80200748:	07800513          	li	a0,120
    8020074c:	9902                	jalr	s2
    8020074e:	0a21                	addi	s4,s4,8
    80200750:	6782                	ld	a5,0(sp)
    80200752:	46c1                	li	a3,16
    80200754:	ff8a3603          	ld	a2,-8(s4)
    80200758:	bfb5                	j	802006d4 <vprintfmt+0x156>
    8020075a:	000a3403          	ld	s0,0(s4)
    8020075e:	008a0713          	addi	a4,s4,8
    80200762:	e03a                	sd	a4,0(sp)
    80200764:	14040263          	beqz	s0,802008a8 <vprintfmt+0x32a>
    80200768:	0fb05763          	blez	s11,80200856 <vprintfmt+0x2d8>
    8020076c:	02d00693          	li	a3,45
    80200770:	0cd79163          	bne	a5,a3,80200832 <vprintfmt+0x2b4>
    80200774:	00044783          	lbu	a5,0(s0)
    80200778:	0007851b          	sext.w	a0,a5
    8020077c:	cf85                	beqz	a5,802007b4 <vprintfmt+0x236>
    8020077e:	00140a13          	addi	s4,s0,1
    80200782:	05e00413          	li	s0,94
    80200786:	000c4563          	bltz	s8,80200790 <vprintfmt+0x212>
    8020078a:	3c7d                	addiw	s8,s8,-1
    8020078c:	036c0263          	beq	s8,s6,802007b0 <vprintfmt+0x232>
    80200790:	85a6                	mv	a1,s1
    80200792:	0e0c8e63          	beqz	s9,8020088e <vprintfmt+0x310>
    80200796:	3781                	addiw	a5,a5,-32
    80200798:	0ef47b63          	bgeu	s0,a5,8020088e <vprintfmt+0x310>
    8020079c:	03f00513          	li	a0,63
    802007a0:	9902                	jalr	s2
    802007a2:	000a4783          	lbu	a5,0(s4)
    802007a6:	3dfd                	addiw	s11,s11,-1
    802007a8:	0a05                	addi	s4,s4,1
    802007aa:	0007851b          	sext.w	a0,a5
    802007ae:	ffe1                	bnez	a5,80200786 <vprintfmt+0x208>
    802007b0:	01b05963          	blez	s11,802007c2 <vprintfmt+0x244>
    802007b4:	3dfd                	addiw	s11,s11,-1
    802007b6:	85a6                	mv	a1,s1
    802007b8:	02000513          	li	a0,32
    802007bc:	9902                	jalr	s2
    802007be:	fe0d9be3          	bnez	s11,802007b4 <vprintfmt+0x236>
    802007c2:	6a02                	ld	s4,0(sp)
    802007c4:	bbd5                	j	802005b8 <vprintfmt+0x3a>
    802007c6:	4705                	li	a4,1
    802007c8:	008a0c93          	addi	s9,s4,8
    802007cc:	01174463          	blt	a4,a7,802007d4 <vprintfmt+0x256>
    802007d0:	08088d63          	beqz	a7,8020086a <vprintfmt+0x2ec>
    802007d4:	000a3403          	ld	s0,0(s4)
    802007d8:	0a044d63          	bltz	s0,80200892 <vprintfmt+0x314>
    802007dc:	8622                	mv	a2,s0
    802007de:	8a66                	mv	s4,s9
    802007e0:	46a9                	li	a3,10
    802007e2:	bdcd                	j	802006d4 <vprintfmt+0x156>
    802007e4:	000a2783          	lw	a5,0(s4)
    802007e8:	4719                	li	a4,6
    802007ea:	0a21                	addi	s4,s4,8
    802007ec:	41f7d69b          	sraiw	a3,a5,0x1f
    802007f0:	8fb5                	xor	a5,a5,a3
    802007f2:	40d786bb          	subw	a3,a5,a3
    802007f6:	02d74163          	blt	a4,a3,80200818 <vprintfmt+0x29a>
    802007fa:	00369793          	slli	a5,a3,0x3
    802007fe:	97de                	add	a5,a5,s7
    80200800:	639c                	ld	a5,0(a5)
    80200802:	cb99                	beqz	a5,80200818 <vprintfmt+0x29a>
    80200804:	86be                	mv	a3,a5
    80200806:	00000617          	auipc	a2,0x0
    8020080a:	71a60613          	addi	a2,a2,1818 # 80200f20 <etext+0x5a4>
    8020080e:	85a6                	mv	a1,s1
    80200810:	854a                	mv	a0,s2
    80200812:	0ce000ef          	jal	ra,802008e0 <printfmt>
    80200816:	b34d                	j	802005b8 <vprintfmt+0x3a>
    80200818:	00000617          	auipc	a2,0x0
    8020081c:	6f860613          	addi	a2,a2,1784 # 80200f10 <etext+0x594>
    80200820:	85a6                	mv	a1,s1
    80200822:	854a                	mv	a0,s2
    80200824:	0bc000ef          	jal	ra,802008e0 <printfmt>
    80200828:	bb41                	j	802005b8 <vprintfmt+0x3a>
    8020082a:	00000417          	auipc	s0,0x0
    8020082e:	6de40413          	addi	s0,s0,1758 # 80200f08 <etext+0x58c>
    80200832:	85e2                	mv	a1,s8
    80200834:	8522                	mv	a0,s0
    80200836:	e43e                	sd	a5,8(sp)
    80200838:	116000ef          	jal	ra,8020094e <strnlen>
    8020083c:	40ad8dbb          	subw	s11,s11,a0
    80200840:	01b05b63          	blez	s11,80200856 <vprintfmt+0x2d8>
    80200844:	67a2                	ld	a5,8(sp)
    80200846:	00078a1b          	sext.w	s4,a5
    8020084a:	3dfd                	addiw	s11,s11,-1
    8020084c:	85a6                	mv	a1,s1
    8020084e:	8552                	mv	a0,s4
    80200850:	9902                	jalr	s2
    80200852:	fe0d9ce3          	bnez	s11,8020084a <vprintfmt+0x2cc>
    80200856:	00044783          	lbu	a5,0(s0)
    8020085a:	00140a13          	addi	s4,s0,1
    8020085e:	0007851b          	sext.w	a0,a5
    80200862:	d3a5                	beqz	a5,802007c2 <vprintfmt+0x244>
    80200864:	05e00413          	li	s0,94
    80200868:	bf39                	j	80200786 <vprintfmt+0x208>
    8020086a:	000a2403          	lw	s0,0(s4)
    8020086e:	b7ad                	j	802007d8 <vprintfmt+0x25a>
    80200870:	000a6603          	lwu	a2,0(s4)
    80200874:	46a1                	li	a3,8
    80200876:	8a2e                	mv	s4,a1
    80200878:	bdb1                	j	802006d4 <vprintfmt+0x156>
    8020087a:	000a6603          	lwu	a2,0(s4)
    8020087e:	46a9                	li	a3,10
    80200880:	8a2e                	mv	s4,a1
    80200882:	bd89                	j	802006d4 <vprintfmt+0x156>
    80200884:	000a6603          	lwu	a2,0(s4)
    80200888:	46c1                	li	a3,16
    8020088a:	8a2e                	mv	s4,a1
    8020088c:	b5a1                	j	802006d4 <vprintfmt+0x156>
    8020088e:	9902                	jalr	s2
    80200890:	bf09                	j	802007a2 <vprintfmt+0x224>
    80200892:	85a6                	mv	a1,s1
    80200894:	02d00513          	li	a0,45
    80200898:	e03e                	sd	a5,0(sp)
    8020089a:	9902                	jalr	s2
    8020089c:	6782                	ld	a5,0(sp)
    8020089e:	8a66                	mv	s4,s9
    802008a0:	40800633          	neg	a2,s0
    802008a4:	46a9                	li	a3,10
    802008a6:	b53d                	j	802006d4 <vprintfmt+0x156>
    802008a8:	03b05163          	blez	s11,802008ca <vprintfmt+0x34c>
    802008ac:	02d00693          	li	a3,45
    802008b0:	f6d79de3          	bne	a5,a3,8020082a <vprintfmt+0x2ac>
    802008b4:	00000417          	auipc	s0,0x0
    802008b8:	65440413          	addi	s0,s0,1620 # 80200f08 <etext+0x58c>
    802008bc:	02800793          	li	a5,40
    802008c0:	02800513          	li	a0,40
    802008c4:	00140a13          	addi	s4,s0,1
    802008c8:	bd6d                	j	80200782 <vprintfmt+0x204>
    802008ca:	00000a17          	auipc	s4,0x0
    802008ce:	63fa0a13          	addi	s4,s4,1599 # 80200f09 <etext+0x58d>
    802008d2:	02800513          	li	a0,40
    802008d6:	02800793          	li	a5,40
    802008da:	05e00413          	li	s0,94
    802008de:	b565                	j	80200786 <vprintfmt+0x208>

00000000802008e0 <printfmt>:
    802008e0:	715d                	addi	sp,sp,-80
    802008e2:	02810313          	addi	t1,sp,40
    802008e6:	f436                	sd	a3,40(sp)
    802008e8:	869a                	mv	a3,t1
    802008ea:	ec06                	sd	ra,24(sp)
    802008ec:	f83a                	sd	a4,48(sp)
    802008ee:	fc3e                	sd	a5,56(sp)
    802008f0:	e0c2                	sd	a6,64(sp)
    802008f2:	e4c6                	sd	a7,72(sp)
    802008f4:	e41a                	sd	t1,8(sp)
    802008f6:	c89ff0ef          	jal	ra,8020057e <vprintfmt>
    802008fa:	60e2                	ld	ra,24(sp)
    802008fc:	6161                	addi	sp,sp,80
    802008fe:	8082                	ret

0000000080200900 <sbi_console_putchar>:
    80200900:	4781                	li	a5,0
    80200902:	00003717          	auipc	a4,0x3
    80200906:	6fe73703          	ld	a4,1790(a4) # 80204000 <SBI_CONSOLE_PUTCHAR>
    8020090a:	88ba                	mv	a7,a4
    8020090c:	852a                	mv	a0,a0
    8020090e:	85be                	mv	a1,a5
    80200910:	863e                	mv	a2,a5
    80200912:	00000073          	ecall
    80200916:	87aa                	mv	a5,a0
    80200918:	8082                	ret

000000008020091a <sbi_set_timer>:
    8020091a:	4781                	li	a5,0
    8020091c:	00003717          	auipc	a4,0x3
    80200920:	70473703          	ld	a4,1796(a4) # 80204020 <SBI_SET_TIMER>
    80200924:	88ba                	mv	a7,a4
    80200926:	852a                	mv	a0,a0
    80200928:	85be                	mv	a1,a5
    8020092a:	863e                	mv	a2,a5
    8020092c:	00000073          	ecall
    80200930:	87aa                	mv	a5,a0
    80200932:	8082                	ret

0000000080200934 <sbi_shutdown>:
    80200934:	4781                	li	a5,0
    80200936:	00003717          	auipc	a4,0x3
    8020093a:	6d273703          	ld	a4,1746(a4) # 80204008 <SBI_SHUTDOWN>
    8020093e:	88ba                	mv	a7,a4
    80200940:	853e                	mv	a0,a5
    80200942:	85be                	mv	a1,a5
    80200944:	863e                	mv	a2,a5
    80200946:	00000073          	ecall
    8020094a:	87aa                	mv	a5,a0
    8020094c:	8082                	ret

000000008020094e <strnlen>:
    8020094e:	4781                	li	a5,0
    80200950:	e589                	bnez	a1,8020095a <strnlen+0xc>
    80200952:	a811                	j	80200966 <strnlen+0x18>
    80200954:	0785                	addi	a5,a5,1
    80200956:	00f58863          	beq	a1,a5,80200966 <strnlen+0x18>
    8020095a:	00f50733          	add	a4,a0,a5
    8020095e:	00074703          	lbu	a4,0(a4)
    80200962:	fb6d                	bnez	a4,80200954 <strnlen+0x6>
    80200964:	85be                	mv	a1,a5
    80200966:	852e                	mv	a0,a1
    80200968:	8082                	ret

000000008020096a <memset>:
    8020096a:	ca01                	beqz	a2,8020097a <memset+0x10>
    8020096c:	962a                	add	a2,a2,a0
    8020096e:	87aa                	mv	a5,a0
    80200970:	0785                	addi	a5,a5,1
    80200972:	feb78fa3          	sb	a1,-1(a5)
    80200976:	fec79de3          	bne	a5,a2,80200970 <memset+0x6>
    8020097a:	8082                	ret
